<?php

namespace Ignus\View;

interface CompilerInterface
{
    /**
     * @return \Ignus\View\CompilerInterface
     */
    public function compile(NodeInterface $node);

    /**
     * @return string
     */
    public function getSource();
}
